package com.example.app.handle.order.impl;

import com.example.app.handle.order.OrderConfirmChainHandle;
import com.example.app.pojo.dto.OrderCreateDto;
import org.springframework.stereotype.Component;

@Component
public class OrderCreateParamVerificationChainHandler implements OrderConfirmChainHandle<OrderCreateDto> {
    @Override
    public void handler(OrderCreateDto requestParam) {
        throw new RuntimeException("会员不存在");
    }

    @Override
    public int getOrder() {
        return 1;
    }
}
